﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Text;

namespace Game.Handlers
{
    public class Races 
    {
        Random rnd = new Random();
        public int new_buildpoints;
        public int bonus_str;
        public int bonus_dex;
        public int bonus_app;
        public int bonus_stam;
        public int bonus_mana;
        public int bonus_int;
        
        public void Human(int BuildPoints, int Strength, int Stamina, int Dexterity, int Apperance, int Mana, int Intelligance)
        {
            //Adds Race BuildPoints to the BuildPoint Setup.

            //int bp = Convert.ToInt32(bx_BuildPoints.Text);
            //int _nbp = bp + rnd.Next(50, 900);
            //bx_BuildPoints.Text = Convert.ToString(_nbp);
            new_buildpoints = BuildPoints + rnd.Next(50, 900);
            bonus_str = Strength;
            bonus_stam = Stamina;
            bonus_dex = Dexterity;
            bonus_app = Apperance;
            bonus_int = Intelligance;
            bonus_mana = Mana;
        }

        public void Elf(int BuildPoints, int Strength, int Stamina, int Dexterity, int Apperance, int Mana, int Intelligance)
        {
            new_buildpoints = BuildPoints + rnd.Next(60, 800);
            bonus_str = Strength - 3;
            bonus_stam = Stamina + 1;
            bonus_mana = Mana + 15;
            bonus_int = Intelligance + 2;
            bonus_dex = Dexterity + 3;
            bonus_app = Apperance + 5;
        }
        public void Neko(int BuildPoints, int Strength, int Stamina, int Dexterity, int Apperance, int Mana, int Intelligance)
        {
            new_buildpoints = BuildPoints + rnd.Next(30, 600);
            bonus_str = Strength - 4;
            bonus_stam = Stamina + 10;
            bonus_app = Stamina + 10;
            bonus_dex = Dexterity + 5;
            bonus_app = Apperance + 25;
            bonus_mana = Mana;
            bonus_int = Intelligance - 5;

        }
        public void Goo(int BuildPoints, int Strength, int Stamina, int Dexterity, int Apperance, int Mana, int Intelligance)
        {
        }
        public void Angel(int BuildPoints, int Strength, int Stamina, int Dexterity, int Apperance, int Mana, int Intelligance)
        {
        }
        public void Demon(int BuildPoints, int Strength, int Stamina, int Dexterity, int Apperance, int Mana, int Intelligance)
        {
        }
    }
}
